home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 8: LINUX Games / Linux Cubed Series 8 - LINUX Games.iso / games / video / fly8111-.000 / fly8111- / fly8 / MSDOS / makeb4.sha < prev    next >
Text File  |  1979-12-31  |  1KB  |  68 lines

  1. # makefile
  2. #
  3. # This is part of the flight simulator 'fly8'.
  4. # Author: Eyal Lebedinsky (eyal@ise.canberra.edu.au).
  5. #
  6.  
  7. #
  8. # makefile for shapes, msdos, Borland c4
  9. #
  10.  
  11. CPP=    cpp
  12. CFLAGS=    -I.. -P-
  13.  
  14. AWK=    awk
  15. DEL=    del
  16. COPY=    copy
  17. REN=    ren
  18.  
  19. SHAPES= runway.vxx m61.vxx mk82.vxx gtarget.vxx target.vxx viewer.vxx \
  20.     classic.vxx crater.vxx house.vxx smoke.vxx tower.vxx broken.vxx \
  21.     box.vxx chute.vxx wf15.vxx wf16.vxx wf18.vxx
  22.  
  23. ACM=    runway.avx tower.avx f16.avx
  24. ACMF=    f16.fvx
  25.  
  26.  
  27. .SUFFIXES: .vx .vxx .acm .avx .fvx
  28.  
  29. .vx.vxx:
  30.     $(COPY) $*.vx $*.c
  31.     $(CPP) $(CFLAGS) $*.c
  32.     $(DEL) $*.c
  33.     $(AWK) -f f8shape.awk $*
  34.     $(DEL) $*.i
  35.     $(DEL) $*.003
  36.  
  37. .acm.avx:
  38.     $(AWK) -f acm2avx.awk $*
  39.     $(CPP) $(CFLAGS) $*.c
  40.     $(DEL) $*.c
  41.     $(AWK) -f f8shape.awk avx
  42.     $(DEL) avx.i
  43.     $(DEL) avx.003
  44.     -$(DEL) $*.avx
  45.     $(REN) avx.vxx $*.avx
  46.  
  47. .acm.fvx:
  48.     $(AWK) -f acm2fvx.awk $*
  49.     $(CPP) $(CFLAGS) $*.c
  50.     $(DEL) $*.c
  51.     $(AWK) -f f8shape.awk fvx
  52.     $(DEL) fvx.i
  53.     $(DEL) fvx.003
  54.     -$(DEL) $*.fvx
  55.     $(REN) fvx.vxx $*.fvx
  56.  
  57. all:    shapes
  58.  
  59. shapes:    $(SHAPES) $(ACM) $(ACMF)
  60.  
  61. clean:
  62.     -$(DEL) *.vxx
  63.     -$(DEL) *.fvx
  64.     -$(DEL) *.avx
  65.     -$(DEL) *.c
  66.     -$(DEL) *.i
  67.     -$(DEL) *.00?
  68.